<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ include file="/WEB-INF/jsp/common/head.jsp"%>

    <div class="container tm-mt-big tm-mb-big">
      <div class="row">
        <div class="col-xl-9 col-lg-10 col-md-12 col-sm-12 mx-auto">
          <div class="tm-bg-primary-dark tm-block tm-block-h-auto">
            <div class="row">
              <div class="col-12">
                <h2 class="tm-block-title d-inline-block">添加合同</h2>
              </div>
            </div>
                <form action="${pageContext.request.contextPath }/staff/staffAdd.do" class="tm-edit-product-form" method="post">
                  <div class="row tm-edit-product-row">
                        <div class="col-xl-7 col-lg-7 col-md-12" style="left: 150px">
                  <div class="form-group mb-3">
                    <label for="r_Name">员工名称:</label>
                    <input
                      id="r_Name"
                      name="r_Name"
                      type="text"
                      class="form-control validate"
                      required
                    />
                  </div></div>
                  </div>
                    <div class="row tm-edit-product-row">
                        <div class="col-xl-7 col-lg-7 col-md-12" style="left: 150px">
                            <div class="form-group mb-3">
                                <label for="s_role">角色分类:</label>
                                <select
                                        id="s_role"
                                        name="queryUserRole"
                                        type="select"
                                        class="form-control validate"
                                        required>
                                    <c:if test="${roleList != null }">
                                        <option value="0">--请选择--</option>
                                        <c:forEach var="role" items="${roleList}">
                                            <option value="${role.r_id}">${role.r_role}</option>
                                        </c:forEach>
                                    </c:if>
                                </select>
                            </div>
                        </div></div>
                    <div class="row tm-edit-product-row">
                        <div class="col-xl-7 col-lg-7 col-md-12" style="left: 150px">
                            <div class="form-group mb-3">
                                <label for="s_creator">创建人:</label>
                                <input
                                        id="s_creator"
                                        name="s_creator"
                                        type="text"
                                        class="form-control validate"
                                        required
                                />
                            </div>
                        </div>
                    </div>
                  <div class="col-12">
                <button type="submit" class="btn btn-primary btn-block text-uppercase" >添加</button>
                  </div>
                </form>
          </div>
        </div>
      </div>
    </div>

<%@ include file="/WEB-INF/jsp/common/foot.jsp" %>
</script>

